export const column = [
  {
    title: '工号',
    dataIndex: 'job_no',
    key: 'job_no',
  },
  {
    title: '姓名',
    dataIndex: 'name',
    key: 'name'
  },
  {
    title: '职称',
    dataIndex: 'job_type',
    key: 'job_type',
    scopedSlots: { customRender: 'job_type' },
  },
  {
    title: '所属门店',
    dataIndex: 'store',
    key: 'store',
    scopedSlots: { customRender: 'store' },
  },
  {
    title: '性别',
    dataIndex: 'gender',
    key: 'gender',
    scopedSlots: { customRender: 'gender' },
  },
  {
    title: '手机号',
    dataIndex: 'phone',
    key: 'phone',
  },
  {
    title: '岗位',
    dataIndex: 'job_title',
    key: 'job_title',
    scopedSlots: { customRender: 'job_title' },
  },
  {
    title: '角色',
    dataIndex: 'roles',
    key: 'roles',
    scopedSlots: { customRender: 'roles' },
  },
  {
    title: '创建时间',
    dataIndex: 'created_at',
    key: 'created_at',
  },
  {
    title: '是否启用',
    dataIndex: 'status',
    key: 'status',
    scopedSlots: { customRender: 'status' },
  },
  {
    title: '操作',
    dataIndex:'area_no',
    key:'area_no',
    scopedSlots: { customRender: 'area_no' }
  }
];
export const appendData = [
  {
    name:'所属门店',
    type:'select',
    val:'',
    must:true,
    place:'请选择所属门店',
    key:'store_no',
    selectData:[],
    nameKey:'name',
    idKey:'store_no'
  },
  {
    name:'员工姓名',
    type:'input',
    val:'',
    must:true,
    place:'请输入员工姓名',
    key:'name'
  },
  {
    name:'性别',
    type:'radio',
    val:1,
    must:true,
    place:'请选择性别',
    key:'gender',
    selectData:[],
    nameKey:'name',
    idKey:'area_no'
  },
  {
    name:'手机号码',
    type:'input',
    val:'',
    must:true,
    place:'请输入手机号码',
    key:'phone'
  },
  {
    name:'岗位',
    type:'select',
    val:'',
    must:true,
    place:'请选择岗位',
    key:'job_title_id',
    nameKey:'name',
    idKey:'id',
    selectData:[]
  },
  {
    name:'员工工号',
    type:'input',
    val:'',
    must:true,
    place:'请输入员工工号',
    key:'job_no'
  },
  {
    name:'角色',
    type:'selectAll',
    val:'',
    must:true,
    place:'请选择角色',
    key:'role_ids',
    nameKey:'name',
    idKey:'id',
    selectData:[]
  },
  {
    name:'职称',
    type:'select',
    val:'',
    must:true,
    place:'请选择职称',
    key:'job_type',
    nameKey:'name',
    idKey:'type',
    selectData:[
      {type:1,name:'补发师'},
      {type:2,name:'头皮师'},
      {type:3,name:'助理'},
      {type:4,name:'微信客服'},
      {type:5,name:'售后客服'},
      {type:6,name:'其他'}
    ]
  }
];
